.TH lis_vector_set_values 3 "6 Sep 2012" "Man Page" "Lis Library Functions"

.SH NAME

lis_vector_set_values \- assign the scalar values to the rows of the vector

.SH SYNOPSIS

#include "lis.h"

\fBLIS_INT lis_vector_set_values\fR(\fBLIS_INT flag\fR, \fBLIS_INT count\fR, \fBLIS_INT index\fR[], \fBLIS_SCALAR value\fR[], \fBLIS_VECTOR v\fR);

.SH DESCRIPTION

Assign scalar \fIvalue\fR[\fIi\fR] to the \fIindex\fR[\fIi\fR]-th row of the vector \fIv\fR, where \fR[\fIi\fR]=0,1,...,\fR[\fIcount\fR]-1.

.SH INPUT

.IP "\fBflag\fR"
.RS
.IP "\fBLIS_INS_VALUE\fR"
\fIv\fR[\fIindex\fR[\fIi\fR]] = \fIvalue\fR[\fIi\fR]
.IP "\fBLIS_ADD_VALUE\fR"
\fIv\fR[\fIindex\fR[\fIi\fR]] = \fIv\fR[\fIindex\fR[\fIi\fR]] + \fIvalue\fR[\fIi\fR]

.IP "\fBi\fR"
The location where the value is assigned

.IP "\fBvalue\fR"
The scalar value to be assigned

.IP "\fBv\fR"
The destination vector

.SH OUTPUT

.IP "\fBv\fR"
The vector with the scalar \fIvalue\fR assigned to the \fIi\fR-th row

.SH EXIT STATUS

The following exit values are returned:
.IP "0"
The process is normally terminated
.IP "unspecified"
An error occurred

.SH NOTE

For the multiprocessing environment, the \fIi\fR-th row of the global vector must be specified instead of
the \fIi\fR-th row of the partial vector.

.SH SEE ALSO

.BR lis (3)
.PP
http://www.ssisc.org/lis/

